package com.malty.apimanage.domain.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author malty
 */
@Data
@ApiModel(description = "用户注册请求")
public class UserRegisterReq {
    @ApiModelProperty("用户帐号")
    @NotBlank(message = "帐号不能为空")
    private String account;

    @ApiModelProperty("用户密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty("确认密码")
    @NotBlank(message = "确认密码不能为空")
    private String checkPassword;
}
